package com.iotboss.common.core.domain.entity.iot;

import com.iotboss.common.annotation.Excel;
import com.iotboss.common.annotation.Excel.ColumnType;
import com.iotboss.common.annotation.Excel.Type;
import com.iotboss.common.annotation.Excels;
import com.iotboss.common.core.domain.BaseEntity;
import com.iotboss.common.core.domain.entity.SysDept;
import com.iotboss.common.core.domain.entity.SysRole;
import com.iotboss.common.xss.Xss;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 入库对象 wechat
 *
 * @author iotboss
 */
public class device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 型号 */
    @Excel(name = "型号", readConverterExp = "必填")
    private String model;

    /** 箱号 */
    @Excel(name = "箱号", readConverterExp = "必填")
    private String box;

    /** 盘号 */
    @Excel(name = "盘号", readConverterExp = "必填")
    private String reel;

    /** imei */
    @Excel(name = "imei", readConverterExp = "必填")
    private String imei;

    /** iccid */
    @Excel(name = "iccid", readConverterExp = "非必填")
    private String iccid;

    /** sn */
    @Excel(name = "sn", readConverterExp = "非必填")
    private String sn;
    /** imsi */
    @Excel(name = "imsi", readConverterExp = "非必填")
    private String imsi;
    /** 用户性别 */
    @Excel(name = "批次", readConverterExp = "0=男,1=女,2=未知")
    private String batch;


    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getBox() {
        return box;
    }

    public void setBox(String box) {
        this.box = box;
    }

    public String getReel() {
        return reel;
    }

    public void setReel(String reel) {
        this.reel = reel;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String sex) {
        this.batch = sex;

    }

    @Override
    public String toString() {
        return "wechat{" +
                "model='" + model + '\'' +
                ", box='" + box + '\'' +
                ", reel='" + reel + '\'' +
                ", imei='" + imei + '\'' +
                ", iccid='" + iccid + '\'' +
                ", sn='" + sn + '\'' +
                ", imsi='" + imsi + '\'' +
                ", batch='" + batch + '\'' +
                '}';
    }
}
